<?php
/** Multibyte Strings Fix - used internally. 
*
* Provides multibyte string functions (UTF-8 only) when PHP'S Multibyte String Functions are not available.
* This file is loaded if required by the bootstrapping code in core.inc.php. Do NOT include this file directly.
*
* Provides mb_strpos, mb_substr, mb_strlen, mb_strrpos,  mb_strtolower, and  mb_strtoupper
*
* Uses Harry Fuecks' UTF-8 library (LGL 2.1).
*
* @package Rho
* @author Pete
* @license http://www.opensource.org/licenses/apache2.0.php Apache License, Version 2.0.
* @author Harry Fuecks
* @license http://www.opensource.org/licenses/lgpl-2.1.php GNU Lesser General Public License 2.1.*/

/** @ignore */
function mb_strpos($haystack , $needle , $offset=0 ,$encoding_ignored='UTF-8' ){
  return utf8_strpos($haystack , $needle , $offset);
}

/** @ignore */
function mb_substr($str , $start, $length=NULL, $encoding_ignored='UTF-8' ){
  return utf8_substr($str, $start, $length);
}

/** @ignore */
function mb_strlen($str , $encoding_ignored='UTF-8'){
  return utf8_strlen($str);
}

/** @ignore */
function mb_strrpos($haystack, $needle, $offset=NULL, $encoding_ignored='UTF-8'){
  return utf8_strrpos($str, $needle, $offset);
}

/** @ignore */
function mb_strtolower($str, $encoding_ignored='UTF-8'){
  return utf8_strtolower($str);
}

/** @ignore */
function mb_strtoupper($str, $encoding_ignored='UTF-8'){
  return utf8_strtoupper($str);
}